/**
 * 标记为用户可调用方法
 * @returns 
 */
function User(): ClassDecorator &
  MethodDecorator &
  PropertyDecorator &
  ParameterDecorator {
  return function (
    target: any,
    propertyKey?: string | symbol,
    descriptor?: PropertyDescriptor
  ) {
    target.__user__ = true
  }
}

export { User }
